package com.synnex.mobile.servier.core.actRecord.service;

import com.synnex.mobile.servier.core.actRecord.bo.ActivityRecordBo;
import com.synnex.mobile.servier.core.actRecord.bo.FolderBo;
import com.synnex.mobile.servier.core.actRecord.dto.Folder;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: kerryf
 * Date: 13-8-5
 * To change this template use File | Settings | File Templates.
 */
public interface ActRecordService {

    List<ActivityRecordBo> ListActRecord(String key,String category);

    List<Map<String,Object>> listRecordToClient(String category);

    void addActRecord(ActivityRecordBo record);

    void editActRecord(ActivityRecordBo record);

    ActivityRecordBo getActRecordBoById(Integer id);

    void deleteActRecordById(Integer id);



    //////////////////////////////////




    List<FolderBo> ListFolder(String category);

    void addFolder(FolderBo folderBo);

    void editFolder(FolderBo record);

    FolderBo getFolderBoById(Integer id);

    void deleteFolderBoById(Integer id);

}
